package edu.hwadee.BEIS.repository;

import edu.hwadee.BEIS.entity.SchoolBasicInfor;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;

import edu.hwadee.BEIS.entity.MajorTeacherSituation;

public interface MajorTeacherSituationRepository extends JpaRepository<MajorTeacherSituation, Integer> {
    Page<MajorTeacherSituation> findBySchoolBasicOrderByModifyTimeDesc(Pageable pageable, SchoolBasicInfor sbi);
}
